package com.company;

public class L_Triangle extends L_Figure {
    L_Triangle(double d1,double d2)
    {
        super(d1,d2);
    }
    double area()
    {
        System.out.println("三角形的面积：");
        return super.dim1*super.dim2/2;
    }
}
